<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>calculate list</title>
</head>
<body>
    <table border="1">
        <thead>
            <tr>
                <th>valueA</th>
                <th>valueB</th>
                <th>result</th>
            </tr>
        </thead>
        {% for d in data %}
        <tr>
            <td>{{ d.value_a }}</td>
            <td>{{ d.value_b }}</td>
            <td>{{ d.result }}</td>
        </tr>
        {% endfor %}
    </table>
    <form action="del" method="post">
        {% csrf_token %}
        <input type="submit" value="clean table">
    </form>
</body>
</html>